package com.sdkj.jiang.service.impl;

import com.sdkj.jiang.mapper.DeptMapper;
import com.sdkj.jiang.po.Dept;
import com.sdkj.jiang.po.child.DeptImpl;
import com.sdkj.jiang.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class DeptServiceImpl implements DeptService {
    @Resource
    private DeptMapper deptMapper;
    @Override
    public List<DeptImpl> find() {

        return deptMapper.find();
    }

    @Override
    public List<Dept> findAll() {
        return deptMapper.findAll();
    }
}
